﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using BehaviorSystem;
namespace SkillSystem
{
    /// <summary>
    /// 技能特效播放器
    /// </summary>
    public class SkillEffectDisplayerAgent : BehaviourAgent, ISkillEffectDisplayer
    {

       public SkillTransmitComponnent skillTransmit;
        MoveComponent moveComponent;

       
        void Start()
        {
            moveComponent= this.gameObject.AddComponent<MoveComponent>();
            moveComponent.TargetPos = skillTransmit.TargetObj.transform.position;
            this.RootNode.ChildrenNodes.Add(new MoveNode(this));
        }

        public void PauseDisplayEffect()
        {

        }

        public void StartDisplayEffect()
        {

        }

        public void StopDisplayEffect()
        {

        }
    }
}
